import { formatYear, formatDate, formatBirthday } from '@/utils/format';

export default function(identity = 0) {
  const normalColumns = [
    {
      title: "职级名称",
      dataIndex: "levelName",
      key: "levelName",
    },
    {
      title: "职级描述",
      dataIndex: "levelDescription",
      key: "levelDescription",
    },
    {
      title: "考核要求",
      dataIndex: "assessmentRequire",
      key: "assessmentRequire",
    },
    {
      title: "面试要求",
      dataIndex: "interviewRequire",
      key: "interviewRequire",
    },
    {
      title: "分红基数",
      dataIndex: "baseNumber",
      key: "baseNumber",
    },
    {
      title: "职级对应分数",
      dataIndex: "levelScore",
      key: "levelScore",
    }
  ];
  const authColums = [
  ];
  const colums = identity === 1 ? [...normalColumns, ...authColums] : normalColumns;
  return colums;
}